package com.pattern.factory.pizza;

import com.pattern.factory.pizza.ingredient.PizzaIngredientFactory;
import com.pattern.factory.pizza.ingredient.nystyle.NYCheese;
import com.pattern.factory.pizza.ingredient.nystyle.NYDough;
import com.pattern.factory.pizza.ingredient.nystyle.NYSauce;

public class CheesePizza extends Pizza {
	public CheesePizza(PizzaIngredientFactory factory) {
		setCheese(factory.createCheese());
		setDouge(factory.createDough());
		setSauce(factory.createSauce());
	}
}
